﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace OEMS
{
    class OemsDB
    {
        public static SqlConnection GetConnection()
        {
            string connectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\OemsDB.mdf;Integrated Security=True;User Instance=True;";
            SqlConnection connection = new SqlConnection(connectionString);
            return connection;
        }
    }
}
